<%@page import="sdfi.lee.DAO.DrugDAO"%>
<%@page import="sdfi.lee.Entity.Drug"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="FCK" uri="http://java.fckeditor.net" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<%
		Drug drug=new DrugDAO().getDrugById(Integer.valueOf(request.getParameter("did")).intValue());
		request.setAttribute("drug",drug);
	%>
	<div class="contain">
	<form action="<c:url value='/drugmf.action'></c:url>" method="post">
		<input type="hidden" name="id" value="${drug.id}">
		<div class="items">
			<strong>药物名称：</strong>
			<input class="text" type="text" name="drugname" value="${drug.drugname}" >
		</div>
		<div class="items">
			<strong>出品公司：&nbsp;</strong><label>${drug.epid.epname}</label>
							
		</div>
		<div class="items">
			<strong>药物介绍：
				<FCK:editor instanceName="drupdescribe" value="${drug.drupdescribe}" width="600px" height="400px"></FCK:editor>
			</strong>
		</div>
		<div class="items">
			<input type="submit" value="药物修改" >
		</div>
	</form>
</div>
</body>
</html>